package com.loong.web.gp4j.bean.schema.message;

import com.loong.web.gp4j.bean.schema.user.UserSchema;

/**
 * 消息对象
 *
 * @author 张成轩
 */
public class MessageSchema {

	private Integer id;
	private Integer creater;
	private String title;
	private String content;
	private String time;
	private UserSchema user;

	/**
	 * @return id id
	 */
	public Integer getId() {

		return id;
	}

	/**
	 * @param id id
	 */
	public void setId(Integer id) {

		this.id = id;
	}

	/**
	 * @return 创建人id
	 */
	public Integer getCreater() {

		return creater;
	}

	/**
	 * @param creater 创建人id
	 */
	public void setCreater(Integer creater) {

		this.creater = creater;
	}

	/**
	 * @return 标题
	 */
	public String getTitle() {

		return title;
	}

	/**
	 * @param title 标题
	 */
	public void setTitle(String title) {

		this.title = title;
	}

	/**
	 * @return 消息
	 */
	public String getContent() {

		return content;
	}

	/**
	 * @param content 消息
	 */
	public void setContent(String content) {

		this.content = content;
	}

	/**
	 * @return 创建时间
	 */
	public String getTime() {

		return time;
	}

	/**
	 * @param time 创建时间
	 */
	public void setTime(String time) {

		this.time = time;
	}

	/**
	 * @return 用户对象
	 */
	public UserSchema getUser() {

		return user;
	}

	/**
	 * @param user 用户对象
	 */
	public void setUser(UserSchema user) {

		this.user = user;
	}
}
